#ifndef MQTTINTERFACE_H
#define MQTTINTERFACE_H
#include <iostream>
#include <memory>
#include "mqttinterfaceimpl.h"

class MqttInterface
{
public:
    MqttInterface() noexcept;

    int pub_init(const std::string& address, const std::string& clientID,
                 const std::string& PERSIST_DIR);

    int pub_data(const std::string & topic, const std::string& data,
                   const int qos);

private:
    std::shared_ptr<MqttInterfaceImpl> m_mqtt_interface_impl;
};

#endif // MQTTINTERFACE_H
